Total Complexity | 81 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 965 |
Lines of code | 549 |
Logical lines of code | 196 |
Comment lines | 298 |
Methods | 15 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_on_checkout_session() | 39 | 13 | 68 | |
add_on_invoice() | 42 | 9 | 55 | |
update_on_invoice() | 42 | 8 | 56 | |
add_on_order() | 41 | 7 | 57 | |
add_on_payment_intent() | 42 | 7 | 52 | |
update_on_checkout_session_lite() | 42 | 6 | 54 | |
maybe_increment_stock() | 50 | 7 | 29 | |
maybe_decrement_stock_order() | 51 | 6 | 26 | |
maybe_decrement_stock() | 53 | 6 | 23 | |
update_on_failed() | 54 | 4 | 22 | |
get_subscribed_events() | 48 | 2 | 40 | |
update_on_payment_intent() | 57 | 3 | 18 | |
add_on_subscription() | 54 | 1 | 23 | |
add_on_checkout_session() | 54 | 1 | 22 | |
__construct() | 77 | 1 | 4 |